<%@ page isErrorPage="true" %>
<%@ include file="/WEB-INF/jspf/directive/taglib.jspf" %>

<html>

<c:set var="title">
	<c:out value="Error page" />
</c:set>
<%@ include file="/WEB-INF/jspf/head.jspf" %>

<body>
	<div class="fc fl">
		<h2>
			<c:out value="The following error occured" />
		</h2>
		<c:set var="code" value="${errorCode}"/>
		<c:set var="message" value="${errorMessage}"/>
		
		<c:if test="${not empty code}">
			<h3><c:out value="Error code" />: <c:out value="${code}"/></h3>
		</c:if>			
		
		<c:if test="${not empty message}">
			<h3><c:out value="${message}"/></h3>
		</c:if>
		
		<br>
		<a href="javascript: history.go(-1)" class="btn btn-block btn-large">
			<c:out value="Back" />
		</a>
	</div>
</body>
</html>